namespace Blog.Models;

public static class DB
{
    public static List<Blogs> B{get;set;}

    static DB()
    {
        B=[];
        for (var i = 0; i < 10; i++)
        {
            var num=new Blogs
            {
                Id=i+1,
                Title=$"如何三秒追到富婆{i+1}",
                Content=$"论富婆的重要性{i+1}",
                Author=$"82岁纯情处男{i+1}"
            };

            B.Add(num);
        }
    }
}